package com.wnhz.work.yz.bean;

import com.wnhz.work.yz.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/6/3.
 */
public class Install2Bean extends BaseBean{

    /**
     * result : 1
     * info : {"list":[{"goods_id":"1","goods_name":"马桶","price":"20.00元/个","goods_des":"上门安装马桶","goods_img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c4aaad508.png"},{"goods_id":"5","goods_name":"水龙头","price":"10.00元/个","goods_des":"水龙头","goods_img":"http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c43fd0572.png"}],"example":[{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png","name":"测试","address":"浙江省杭州市西湖区文三路178号","area":"140.00㎡","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-06-01/592ff498dc43a.jpg","name":"姚波","address":"北京市北京市昌平区阿斯达所","area":"10.00㎡","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-06-01/592ff498dc43a.jpg"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-06-01/592ff498dc43a.jpg","name":"rwqee","address":"北京市北京市昌平区qweqw","area":"1231.00㎡","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-06-01/592ff498dc43a.jpg"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-06-01/592ff498dc43a.jpg","name":"测试999","address":"北京市北京市昌平区请问","area":"1231.00㎡","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-06-01/592ff498dc43a.jpg"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-06-01/592ff498dc43a.jpg","name":"123","address":"北京市北京市昌平区123","area":"12.00㎡","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-06-01/592ff498dc43a.jpg"}]}
     */

    private String result;
    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity extends BaseBean{
        /**
         * goods_id : 1
         * goods_name : 马桶
         * price : 20.00元/个
         * goods_des : 上门安装马桶
         * goods_img : http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c4aaad508.png
         */

        private List<ListEntity> list;
        /**
         * head_img : http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png
         * name : 测试
         * address : 浙江省杭州市西湖区文三路178号
         * area : 140.00㎡
         * img : http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png
         */

        private List<ExampleEntity> example;

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public void setExample(List<ExampleEntity> example) {
            this.example = example;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public List<ExampleEntity> getExample() {
            return example;
        }

        public static class ListEntity extends BaseBean{
            private String goods_id;
            private String goods_name;
            private String price;
            private String goods_des;
            private String goods_img;
            private String num="0";
            /**
             * unit : 个
             */

            private String unit;

            public void setNum(String num) {
                this.num = num;
            }

            public String getNum() {
                return num;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public void setGoods_des(String goods_des) {
                this.goods_des = goods_des;
            }

            public void setGoods_img(String goods_img) {
                this.goods_img = goods_img;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public String getPrice() {
                return price;
            }

            public String getGoods_des() {
                return goods_des;
            }

            public String getGoods_img() {
                return goods_img;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getUnit() {
                return unit;
            }
        }

        public static class ExampleEntity extends BaseBean{
            private String head_img;
            private String name;
            private String address;
            private String area;
            private String img;

            public void setHead_img(String head_img) {
                this.head_img = head_img;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getHead_img() {
                return head_img;
            }

            public String getName() {
                return name;
            }

            public String getAddress() {
                return address;
            }

            public String getArea() {
                return area;
            }

            public String getImg() {
                return img;
            }
        }
    }
}
